package com.engine4cloud.tdf.supervision.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.engine4cloud.tdf.supervision.dto.create.JzdxJudgmentCreateDTO;
import com.engine4cloud.tdf.supervision.dto.result.JzdxJudgmentResultDTO;
import com.engine4cloud.tdf.supervision.dto.update.JzdxJudgmentUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.JzdxJudgmentEntity;

public interface JzdxJudgmentService extends IService<JzdxJudgmentEntity> {

    JzdxJudgmentResultDTO findByCode(String code);

    Boolean create(JzdxJudgmentCreateDTO dto);

    Boolean update(JzdxJudgmentUpdateDTO dto);
}